package cn.xiaobai.controller;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import cn.xiaobai.R;

/**
 * @Author yangdaji
 * @Date 2023/12/25
 * @PackageName cn.xiaobai.controller
 * @ClassName TwoApplication
 */
public class TwoApplication extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.two);


        Bundle extras = getIntent().getExtras();
        String loginMsg = extras.getString("login_msg");

        TextView textView = findViewById(R.id.two_text);
        textView.setText(loginMsg);
    }
}
